﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.GoodsSku.Model
{
    public class GoodsSkuAdd : GoodsSkuSet
    {
        /// <summary>
        /// 商品id
        /// </summary>
        [NumValidate("shop.goods.id.error", 1)]
        public long GoodsId { get; set; }

        /// <summary>
        /// 规格Key
        /// </summary>
        [NumValidate("shop.goods.spec.id.error", 1)]
        public long[] SpecId { get; set; }
    }
}
